aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
committerLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
commitd0c71b1a8497a3047f630cd1926f803a5190d7aa (patch)
treef52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_status_post[Content warning-public].yaml
parent8b06b53ed50e41411857181e4881e54823ed661b (diff)
downloadmastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-public].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-public].yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-public].yaml b/tests/cassettes/test_status_post[Content warning-public].yaml
index da497b2..30bccb7 100644
--- a/tests/cassettes/test_status_post[Content warning-public].yaml
+++ b/tests/cassettes/test_status_post[Content warning-public].yaml
@@ -12,15 +12,15 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"100369510064216979","created_at":"2018-07-13T21:26:22.395Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"100465732238843342","created_at":"2018-07-30T21:16:56.275Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510064216979","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510064216979","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732238843342","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732238843342","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
18 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI 18 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":57,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
20 headers: 20 headers:
21 Cache-Control: ['max-age=0, private, must-revalidate'] 21 Cache-Control: ['max-age=0, private, must-revalidate']
22 Content-Type: [application/json; charset=utf-8] 22 Content-Type: [application/json; charset=utf-8]
23 ETag: [W/"b2ce2fe572dfde2f2a983aafebc76cb0"] 23 ETag: [W/"6fe829816f8e1ae8e6d9d9eee240a6a8"]
24 Referrer-Policy: [strict-origin-when-cross-origin] 24 Referrer-Policy: [strict-origin-when-cross-origin]
25 Transfer-Encoding: [chunked] 25 Transfer-Encoding: [chunked]
26 Vary: ['Accept-Encoding, Origin'] 26 Vary: ['Accept-Encoding, Origin']
@@ -28,10 +28,10 @@ interactions:
28 X-Download-Options: [noopen] 28 X-Download-Options: [noopen]
29 X-Frame-Options: [SAMEORIGIN] 29 X-Frame-Options: [SAMEORIGIN]
30 X-Permitted-Cross-Domain-Policies: [none] 30 X-Permitted-Cross-Domain-Policies: [none]
31 X-Request-Id: [59412230-1b32-4159-bace-087a81dae5b1] 31 X-Request-Id: [f4b383b7-91c3-454a-9d7f-a235a515da79]
32 X-Runtime: ['0.154431'] 32 X-Runtime: ['0.216551']
33 X-XSS-Protection: [1; mode=block] 33 X-XSS-Protection: [1; mode=block]
34 content-length: ['1523'] 34 content-length: ['1524']
35 status: {code: 200, message: OK} 35 status: {code: 200, message: OK}
36- request: 36- request:
37 body: null 37 body: null
@@ -43,13 +43,13 @@ interactions:
43 Content-Length: ['0'] 43 Content-Length: ['0']
44 User-Agent: [python-requests/2.18.4] 44 User-Agent: [python-requests/2.18.4]
45 method: DELETE 45 method: DELETE
46 uri: http://localhost:3000/api/v1/statuses/100369510064216979 46 uri: http://localhost:3000/api/v1/statuses/100465732238843342
47 response: 47 response:
48 body: {string: '{}'} 48 body: {string: '{}'}
49 headers: 49 headers:
50 Cache-Control: ['max-age=0, private, must-revalidate'] 50 Cache-Control: ['max-age=0, private, must-revalidate']
51 Content-Type: [application/json; charset=utf-8] 51 Content-Type: [application/json; charset=utf-8]
52 ETag: [W/"746137eafae715603d3e34ff80efc480"] 52 ETag: [W/"bfecf9705025662c1f200356d01507e5"]
53 Referrer-Policy: [strict-origin-when-cross-origin] 53 Referrer-Policy: [strict-origin-when-cross-origin]
54 Transfer-Encoding: [chunked] 54 Transfer-Encoding: [chunked]
55 Vary: ['Accept-Encoding, Origin'] 55 Vary: ['Accept-Encoding, Origin']
@@ -57,8 +57,8 @@ interactions:
57 X-Download-Options: [noopen] 57 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 58 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 59 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [fc4b900a-4320-4e2c-a737-09c12689fe63] 60 X-Request-Id: [cc612f18-db46-44d2-b554-bebef3859319]
61 X-Runtime: ['0.064443'] 61 X-Runtime: ['0.048379']
62 X-XSS-Protection: [1; mode=block] 62 X-XSS-Protection: [1; mode=block]
63 content-length: ['2'] 63 content-length: ['2']
64 status: {code: 200, message: OK} 64 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)